package com.computergames.server.message;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.ToString;

@Data
@ToString(callSuper = true)
public class CreateRoomResponseMessage extends AbstractResponseMessage<String>{
    //private String from;
    //private String content;

    public CreateRoomResponseMessage() {
    }

    public CreateRoomResponseMessage(boolean success, String reason) {
        super(success, reason);
    }

//    public CreateRoomResponseMessage(String from, String content) {
//        this.from = from;
//        this.content = content;
//    }

    @Override
    public int getMessageType() {
        return CreateRoomResponseMessage;
    }
}
